﻿#pragma once
#include "Screen.h"
#include "MObject.h"
#include "Brick.h"

class FoodMushroom:public MObject
{
protected:
	shared_ptr<Sprite> _spriteMushroom;
	shared_ptr<Sprite> _spriteFlower;
public:
	FoodMushroom(void);
	FoodMushroom(float x, float y, float vx, float vy, int deltaTime,int resourceName,CResourceManager *rm);
	~FoodMushroom();
	void Move();
	void Render();
	void setVelocity(Vector v,shared_ptr<MObject> Object);
	void actAfterCollided(int Direction, shared_ptr<MObject> Object);
	void setStatus(int Status);

public:
	static const int STATUS_MUSHROOM = 0;
	static const int STATUS_FLOWER = 1;
	static const int STATUS_DEAD = -1;
};